package com.qianguo.shop.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.eva.androidlibrary.api.entity.BaseBean;

/**
 * 产品品类
 *
 * @author eva
 * @date 16/6/7
 */
public class Category extends BaseBean {

    /** 分类ID */
    @JSONField(name = "category_id")
    private int categoryId;

    /** 分类名称 */
    private String name;

    /** 上级分类id */
    private int pid;

    /** 店铺id */
    @JSONField(name = "shopid")
    private String shopId;

    /** 删除状态，0正常，1删除 */
    private int deleted;

    /** 创建分类时间戳 */
    @JSONField(name = "created_at")
    private long createdAt;

    /** 修改分类时间戳 */
    @JSONField(name = "modified_at")
    private long modifiedAt;

    public int getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public int getDeleted() {
        return deleted;
    }

    public void setDeleted(int deleted) {
        this.deleted = deleted;
    }

    public long getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(long createdAt) {
        this.createdAt = createdAt;
    }

    public long getModifiedAt() {
        return modifiedAt;
    }

    public void setModifiedAt(long modifiedAt) {
        this.modifiedAt = modifiedAt;
    }
}
